Skip to main content
Version: 5.1.0.0

Message validator extended

Description​

This scriptlet validates a message against a given message type or an XML schema. If the validation fails, a detailed error information is returned. For this error information the original message is annotated by additional elements that contain a more detailed error description.

validatedRecord

- **type** Indicates the type of the record. Maybe Error, FatalError or Warning.

- **message** Validation message that gives a more detailed information about the situation.

Create​

See creation of Scriptlet.

Configuration​

Properties and Parameter assignment​

The assignment sections define the variable connection between the script execution and process model.

The following parameters are required.

**Ingoing Parameter**:

- **MSG**: Input message.

**Outgoing Parameter**:

- **MSG**: the input message annotated with warnings and errors.

Configuration of the validator​

The validator validates a message against a message type or an XML schema; in the configuration dialog the user therefore must select a message type or a XML schema.